package org.dtrd.modules.ocr.entity.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.dtrd.modules.ocr.entity.po.DtrdEntRdOcrMappingTable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author sun
 * @since 2022-09-07
 */
@Getter
@Setter
@ApiModel(value = "详情")
public class OcrMappingTableDetail {

    private Integer dataId;

    @ApiModelProperty("表名")
    private String title;

    @ApiModelProperty("表名")
    private String tableName;



    public OcrMappingTableDetail parseFromPo(DtrdEntRdOcrMappingTable po) {
        dataId = po.getDataId();
        title = po.getTitle();
        tableName = po.getTableName();
        return this;
    }
}
